Whack newline from icons when read.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sat, 25 Jan 2003 18:21:28 +0000 (18:21 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sat, 25 Jan 2003 18:21:28 +0000 (18:21 +0000)
gpsbabel/gpsdrive.c

index 64cb3a218edc4bd1612a1c91f3f44503e0da36fa..8fc02614e21b7cc0d9c3ef142c44090e8d08dada 100644 (file)
@@ -107,6 +107,7 @@ data_read(void)
                                wpt_tmp->position.longitude.degrees = atof(s);
                                break;
                        case 3:
+                               rtrim(s);
                                wpt_tmp->icon_descr = xstrdup(s);
                                break;
                        default: